package nc.ui.arap.selectedpay;

import nc.vo.arap.exception.ExceptionHandler;

public class FaSaveButtonListener implements ButtonListener {
  public FaSaveButtonListener() {
  }
  public void action(nc.ui.arap.selectedpay.ButtonEvent1 e) throws Exception{
    /**@todo Implement this nc.ui.arap.selectedpay.ButtonListener method*/
    //throw new java.lang.UnsupportedOperationException("Method action() not yet implemented.");
     MainPanel parent=(MainPanel)((ARAPButton)e.getSource()).getOwner();
     try
     {
       new FaSaveDialog(parent.favo,parent).setVisible(true);
     }
     catch(Exception ex)
     { 
    	 ExceptionHandler.consume(ex);
       parent.showErrorMessage(ex.getMessage());
       throw ex;
     }
  }
}
